home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16257 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  952 b 

  1. Path: nuhou.aloha.net!news
  2. From: Mike Paxton <mikep@aloha.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: Keyboard Codes/Mouse Routines
  5. Date: Tue, 09 Apr 1996 17:19:06 -1000
  6. Organization: Hawaii OnLine - Honolulu, HI
  7. Message-ID: <316B28AA.7FDD@aloha.net>
  8. NNTP-Posting-Host: oahu-206.u.aloha.net
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win16; I)
  13.  
  14. For Turbo C++ v3.0 for DOS:
  15.  
  16. I've noticed that certain keys on the keyboard return the same ASCII values
  17. as eachother (e.g. Page Down and Q both return 81, Down Arrow and P both
  18. return 80).  I was wondering if anyone knows how to differentiate between the
  19. two.
  20.  
  21. Also, for the program I'm currently working on, I'd like to include mouse
  22. support, but I haven't the faintest idea as to how to go about doing it.
  23.  
  24. Any help on either of these problems would be greatly appreciated.
  25. -- 
  26. Mike Paxton
  27. mikep@aloha.net
  28. http://www.aloha.net/~mikep/
  29.